<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ include file="common.jsp"%>
<%@ include file="loadJsAndCss.jsp" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<script type="text/javascript">
	$(document).ready(function(data){
		createWelcomePageLayout();
	});
</script>

<body id="welcomePageBody">
	<div id="headerDiv" >
		<table border="0" class="headertab" style="height: 110px !important;" >
			<tr align="center">
				<td style="text-align: left; vertical-align: top; width: 160px; height: 100%">
					<span>&nbsp;&nbsp;&nbsp;&nbsp;</span>
					<img src="./Nissan Logo.jpg" height="60px" width="60px" ><br/>
					<img src="./RNAIPL.png" height="40px" width="150px">
				</td>
				<td style="text-align: center; vertical-align: middle; width: 700px;"><h4>Welcome to Stock Ledger</h4></td>
				<td align="right" style="vertical-align: top; width: 200px; padding-right:2%;">
					<img src="./BlueLotus Logo_New.png" height="50px" width="100px"><br/>
					<!-- <span style="font-size: 0.6em;">In Association With &nbsp;&nbsp;</span> --> 
					
					<img src="./JPGlogoColorSmall.jpg" height="60px" width="75px">
					<a href="<c:url value="/j_spring_security_logout" />">Logout</a>
				</td>
			</tr>
<!-- 			<tr>
				<td style="text-align: left; vertical-align: top; width: 35%;">
					<img src="./Nissan Logo.jpg" style="width: 50%;">
					<img src="./RNAIPL.png" style="width: 50%;">
				</td>
				<td style="text-align: center; vertical-align: middle; width: 30%;"><h4>Welcome to Stock Ledger</h4></td>
				<td style="text-align: right; vertical-align: top; width: 35%; padding-right:2%;">
					<img src="./BlueLotus Logo_New.png"></br>
					In Association With &nbsp;&nbsp;</br>
					<img src="./gss.png" style="padding-right: 6%;">
					
				</td>
			</tr> -->
			<!-- <tr><td>logout</td></tr> -->
		</table>
	</div>
	<div id="mainMenu" class="menu">
		<table>
			<tr align="left">
				<td>
					<ul style="padding-left: 2px !important; font-size: 0.9em">
						<li class="menuFont">
							<%-- <a href='<c:url value="getUploadFileForm.htm"></c:url>'
						target="_self">Upload Input File</a> --%> <a
							href="javascript:openUploadForm()">Upload Input File</a></li>
						<li class="menuFont">Generate Report
							<ul>
								<li><a href="#" onclick="javascript:loadStockLedgerReport()"> <label
										class="menuFont"> Store Ledger </label> </a></li>
								<li><a href="#" onclick="javascript:loadVendorWiseReport()"> <label
										class="menuFont"> Vendor Wise Purchase Report </label> </a></li>
								<li><a href="#" onclick="javascript:loadNegativePartReport()"> <label
										class="menuFont"> Negative Part Analysis </label> </a></li>
							</ul></li>
					</ul>
				</td>
			</tr>
		</table>
	</div>
	<div id="reportsFilter">
		<c:if test="${resultOfSucess eq true}">
			Report Generated Successfully.
		</c:if>
		<c:if test="${resultOfSucess eq false}">
			Report Generation Failed.
		</c:if>
	</div>
</body>
